﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Menu.ascx.cs" Inherits="SBACN.WebSite.UC.Menu" %>
<script type="text/javascript" src="/Scripts/mootools.js"></script>
<script type="text/javascript">
	var accordionLeftMenu;
	var accordionTogglersLeftMenu;
	var accordionContentsLeftMenu;

	window.onload = function () {
		accordionTogglersLeftMenu = document.getElementsByClassName('mainLeft');
		if(accordionTogglersLeftMenu.length > 0){
			accordionTogglersLeftMenu.each(function (toggler) {});
			accordionContentsLeftMenu = document.getElementsByClassName('list2');
			if(accordionContentsLeftMenu.length > 0){
				accordionLeftMenu = new Fx.Accordion(accordionTogglersLeftMenu, accordionContentsLeftMenu, {
					onActive: function (toggler) { }, onBackground: function (toggler) { }
				});
				accordionLeftMenu.showThisHideOpen(<%= MenuIndex%>);
			}
		}
	}
</script>
<div id="leftLinkDiv">
	<div id="leftnav" clientidmode="Static" runat="server">
	</div>
</div>

